<? $this->load->view('header'); ?>
  <header  id="site-header">
    
  <header  id="site-header">

    
  <section  id="search-bar">
    <div  class="wrapper">
    <form  action="http://m.ichufang.cn/search/caipu/"  method="GET">
        <input  type="text"  class="search"  placeholder="菜谱、食材搜索"  name="keyword">
        <input  type="submit"  hidden="True"  value="搜索"  class="search-button">
    </form>
    </div>
  </section>

  </header>

  </header>

  
  
  <div  id="site-body">
    <section  class="categories-root">
      <div  class="body">
        <ul  class="plain pure-g">
          <?php foreach ($category as $row) :?>
          <li  class="pure-u">
            <a  href="http://m.ichufang.cn/shicai/cate/<?=$row['cid']?>"  class="click-expand">
            <span><img src="<?=base_url('static/img/shicai/'.$row['cid'].'.jpg')?>" alt="<?=$row['cateName']?>" /></span>
            <?=$row['cateName']?>
            </a>
          </li>
          <?php endforeach;?>
        </ul>
      </div>
    </section>
  </div>

<? $this->load->view('footer'); ?>